﻿Imports Microsoft.TeamFoundation.Client
Imports Microsoft.TeamFoundation.WorkItemTracking.Client


Public Class TeamRoutedEventArgs
    Inherits RoutedEventArgs

    Private m_Project As Project
    Private m_View As Node.TreeType

    Public ReadOnly Property Project() As Project
        Get
            Return m_project
        End Get
    End Property

    Public ReadOnly Property View() As Node.TreeType
        Get
            Return m_View
        End Get
    End Property

    Public Sub New(ByVal Project As Project, ByVal View As Node.TreeType)
        MyBase.New()
        m_Project = Project
        m_View = View
    End Sub

    Public Sub New(ByVal routedEvent As RoutedEvent, ByVal Project As Project, ByVal View As Node.TreeType)
        MyBase.New(routedEvent)
        m_Project = Project
        m_View = View
    End Sub

    Public Sub New(ByVal routedEvent As RoutedEvent, ByVal Source As Object, ByVal Project As Project, ByVal View As Node.TreeType)
        MyBase.New(routedEvent, Source)
        m_Project = Project
        m_View = View
    End Sub

End Class
